package cn.iocoder.yudao.module.crm.controller.admin.module.vo.module;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - Crm模块 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CrmModuleRespVO {

    @Schema(description = "模块ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23309")
    @ExcelProperty("模块ID")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "范围", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("范围")
    private Integer type;

    @Schema(description = "指定部门id")
    private String deptIds;

    private String deptName;

    @Schema(description = "指定员工id")
    private String userIds;

    private String userName;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}